function GAD_Etom_Plot_XDay_Analysis_ER_Matrix_eachAnimal(XDay_ER_Matrix)

max = 0.6;

subplot(2,4,1)
heatmap(XDay_ER_Matrix.G2_F4_17,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G17 Cre+ Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,2)
heatmap(XDay_ER_Matrix.G2_F4_18,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G18 Cre- Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,3)
heatmap(XDay_ER_Matrix.G2_F52_21,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G21 Cre+ Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,4)
heatmap(XDay_ER_Matrix.G2_F52_28,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G28 Cre- Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,5)
heatmap(XDay_ER_Matrix.G2_F52_31,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G31 Cre- Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,6)
heatmap(XDay_ER_Matrix.G2_F52_34,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G34 Cre- Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,7)
heatmap(XDay_ER_Matrix.G2_F52_45,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G45 Cre+ Cross-Day ER Matrix')
set(gca,'FontSize',20)

subplot(2,4,8)
heatmap(XDay_ER_Matrix.G2_F52_53,'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));
caxis([0, max]);
% title('G53 Cre+ Cross-Day ER Matrix')
set(gca,'FontSize',20)


end